

# def add_one():
#     """添加单个数据"""
#     user1 = Author(name="fly1")
#     db.session.add(user1)
#     db.session.commit()
#
#     bk_user1 = Book(name='fly自传', author_id=user1.id)
#     db.session.add(bk_user1)
#     db.session.commit()